[Top] [Prev] [Next] [Bottom] [Contents]

SaSafeExecArg

Converts the passed argument string to a string which is safe to be sent to an EXEC Data Object.

Synopsis

#include "SaRnHtml.h"
char* SaSafeExecArg(char* arg)

Arguments

arg
The command line argument to be converted

Return Values

The converted string. This string needs to be freed by the caller.

Description

This function will escape with a backslash any semi-colons, greater than, less than and pipe characters in the parameter arg.

Examples

s = SaSafeExecArg(SaGetInputValue("TitleText"));
s = SaSafeExecArg(SaGetNArg(0)); 	

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.